﻿<Window x:Class="THEMXOASUA.WINDOWCHINH"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MÀN HÌNH CHÍNH" WindowState="Maximized" Loaded="Window_Loaded_1" >
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="auto"/>
        </Grid.RowDefinitions>
        <Menu Name="MainMenu" Grid.Row="0">
            <MenuItem Header="Hệ thống">
                <MenuItem Name="Thoat" Click="Thoat_Click_1" Header="Thoát">
                </MenuItem>
            </MenuItem>
            <MenuItem Header="Danh mục">
            </MenuItem>
            <MenuItem Header="Nghiệp vụ">
                <MenuItem Name="dsHoaDon" Click="dsHoaDon_Click" Header="Danh sách hóa đơn">
                </MenuItem>
            </MenuItem>
            <MenuItem Header="Báo cáo">
            </MenuItem>
            <MenuItem Header="Trợ giúp">
            </MenuItem>
        </Menu>
        <ToolBar Band="1" BandIndex="1" Grid.Row="1">
            <Button Name="dshd" Click="dshd_Click_1">
                <Image Width="30" Height="25" Source="D:/window c#/Images/MO.png"/>
            </Button>
            <Button Name="themmoi" Click="themmoi_Click_1">
                <Image Width="30" Height="24" Source="D:/window c#/Images/NewDocumentHS.png"/>
            </Button>
            <Button  Name="LOGIN"  ToolTip="New" Click="LOGIN_Click">
                <StackPanel Orientation="Horizontal">
                    <Image HorizontalAlignment="Right" Height="34" Source="D:/window c#/Images/log.png"/>
                </StackPanel>
            </Button>

            <Button Name="thoat" Click="thoat_Click_2">
                <Image Width="30" Height="30" Source="D:/window c#/Images/StopHS.png"/>
            </Button>
        </ToolBar>
        <Image Grid.Row="2" Stretch="Fill" Source="D:/window c#/Images/b.jpg"/>
        <StatusBar Name="SBar" Grid.Row="3">
            <TextBlock>Database: (local)</TextBlock>
            <Separator/>
            <TextBlock>User: admin</TextBlock>
        </StatusBar>

    </Grid>
</Window>

